const express = require('express')

const datas = express.Router()

datas.get('/hpv', (req, res) => {
// 全部
const data = [
    {
        id: 1,
        hospital: "成都私立预防接种机构",
        address: "四川成都天安门路133号",
        house: "道群健康 7天内可约 9价HPV疫苗",
        price: "￥6999",
    },
    {
        id: 2,
        hospital: "华西医院",
        address: "四川成都市天宫院路2号",
        house: "橄榄枝健康 24小时可约 9价HPV疫苗",
        price: "￥5999",
    },
    {
        id: 3,
        hospital: "华西口腔医院",
        address: "四川成都市天宫院路4号",
        house: "优苗康健康 24小时可约 9价HPV疫苗",
        price: "￥5999",
    },
    {
        id: 4,
        hospital: "四川协和医院",
        address: "四川成都市天宫院路45号",
        house: "优苗康健康 15天可约 9价HPV疫苗",
        price: "￥5999",
    },
    {
        id: 5,
        hospital: "四川协和医院",
        address: "四川成都市天宫院路45号",
        house: "彩虹医生 24小时可约 9价HPV疫苗",
        price: "￥5998",
    },
    {
        id: 6,
        hospital: "成都非公立预防接种机构",
        address: "四川成都天安门路137号",
        house: "门店直营 7天内可约 9价HPV疫苗",
        price: "￥6998",
    },
    {
        id: 7,
        hospital: "华西口腔医院",
        address: "四川成都市天宫院路4号",
        house: "优苗康健康 7天可约 9价HPV疫苗",
        price: "￥5999",
    },
    {
        id: 8,
        hospital: "华西口腔医院",
        address: "四川成都市天宫院路4号",
        house: "优苗康健康 15天可约 9价HPV疫苗",
        price: "￥5999",
    },
    {
        id: 9,
        hospital: "成都私立预防接种机构",
        address: "四川成都天安门路133号",
        house: "道群健康 24小时可约 9价HPV疫苗",
        price: "￥5999",
    },
    {
        id: 10,
        hospital: "成都非公立预防接种机构",
        address: "四川成都天安门路137号",
        house: "门店直营 15天可约 9价HPV疫苗",
        price: "￥6998",
    },
    {
        id: 11,
        hospital: "华西医院",
        address: "四川成都市天宫院路488号",
        house: "优苗康健康 15天可约 9价HPV疫苗",
        price: "￥5998",
    },
]
    res.send({
        code: 200,
        data: {
            list: data,
        },
        message: '获取医生数据成功',
    })
})

module.exports = datas